package com.ycq.cloud.helloclient.Controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class HelloController {


   // @Value("${server.port}")
  //  String prot;

    @GetMapping("/hello")
    public String Hello(){

        return "Hello World";
    }


}
